package com.wabi.action;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;
import javax.swing.JComponent;
import javax.swing.JOptionPane;

public class AboutAction extends AbstractAction {

	@Override
	public void actionPerformed(ActionEvent e) {
		System.out.println("clicked about");
		JOptionPane.showMessageDialog(((JComponent)e.getSource()).getTopLevelAncestor(), "JFrame example\nCreated by: Anna Jaworska");
	}

	
}
